import ctypes

player = ctypes.windll.kernel32


def beep(v=800, t=0.1):
    player.Beep(v, int(t * 1000))


def error_beep():
    beep(v=400, t=0.5)


def end_beep():
    beep(600, t=0.3)
    beep(400, t=0.3)
    beep(200, t=0.3)


def start_beep():
    beep(200, t=0.3)
    beep(400, t=0.3)
    beep(600, t=0.3)
